// Copyright (c) 2009 Luca Marrocco.
// Modified or written by Luca Marrocco for inclusion with codej.
// Licensed under the Apache License, Version 2.0 (the "License")
package codej.ast;

import codej.ast.*;
import codej.ast.*;

public class AssignStatement extends Statement {

	private String identifier;
	private Expression expression;

	public AssignStatement(String identifier, Expression expression) {
		this.identifier = identifier;
		this.expression = expression;
	}

	public void accept(Visitor visitor) {
		visitor.visit(this);
	}

	public Expression getExpression() {
		return expression;
	}

	public String getIdentifier() {
		return identifier;
	}
}
